package com.myk.game.heroscuffle.utils;

public class WeighterTask extends Weighter implements Runnable{

    private Runnable task;

    public WeighterTask(int weight,Runnable runnable) {
        super(weight);
        this.task = runnable;
    }

    @Override
    public void run() {
        task.run();
    }
}
